/**
 * Copyright © 2013 Creativor Studio.
 * About license information, please see LICENSE.txt.
 */
package org.creativor.rayson.share.transport.http;

import java.nio.ByteBuffer;

import org.creativor.rayson.client.transport.http.ClientHttpResponse;

/**
 * An parser used to parse HTTP response message.
 * 
 * @author creativor
 */
public class HttpResponseParser extends HttpMessageParser<ClientHttpResponse> {

	public HttpResponseParser(final ByteBuffer byteBuffer) {
		super(byteBuffer);
	}

	@Override
	ClientHttpResponse newMessage() {
		return new ClientHttpResponse(new ExtendedHttpHeaders());
	}

	@Override
	protected HttpStatusLine parseStartLine(final byte[] line)
			throws HttpProtocolException {
		// TODO Auto-generated method stub
		return null;
	}

}
